package com.jswdwsx.esign.config

import org.springframework.boot.context.properties.ConfigurationProperties

@ConfigurationProperties("esign")
class EsignProperties {
    lateinit var env: String
    lateinit var host: String
    lateinit var noticeUrl: String
    val identity = Project()
    val nonIdentity = Project()

    class Project {
        lateinit var projectId: String
        lateinit var projectSecret: String
    }
}

@ConfigurationProperties("oss")
class OssProperties {
    lateinit var endpoint: String
    lateinit var accessKeyId: String
    lateinit var accessKeySecret: String
    lateinit var bucketName: String
    lateinit var ossUrl: String
}





